import React from 'react';
import { Route, Switch, Link } from 'react-router-dom'
import User from './pages/user';

const App = () => {
  return (
    <>
      <Link to="/user/sunboy25">sunboy25</Link>
      <Switch>
        <Route path="/user/:loginname" component={User}></Route>
      </Switch>
    </>
  )
}

export default App;